//========encoding:utf-8=========
/*
 * @describe:  三目运算符
 * @author:mhao
 * @copyright:chinasoft.cn
 * @date:2020年3月23日   下午7:20:48
 */
package edu.chinasoft.domain;

import org.apache.ibatis.type.Alias;

@Alias("user")
public class User {
	private int userId;
	private String userName;
    private String userPasswrod;
    private String userFlag;
    private String userDesc;
	public User() {
	}
	public User(int userId, String userName, String userPasswrod, String userFlag, String userDesc) {
		super();
		this.userId = userId;
		this.userName = userName;
		this.userPasswrod = userPasswrod;
		this.userFlag = userFlag;
		this.userDesc = userDesc;
	}
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getUserPasswrod() {
		return userPasswrod;
	}
	public void setUserPasswrod(String userPasswrod) {
		this.userPasswrod = userPasswrod;
	}
	public String getUserFlag() {
		return userFlag;
	}
	public void setUserFlag(String userFlag) {
		this.userFlag = userFlag;
	}
	public String getUserDesc() {
		return userDesc;
	}
	public void setUserDesc(String userDesc) {
		this.userDesc = userDesc;
	}
	@Override
	public String toString() {
		return "User [userId=" + userId + ", userName=" + userName + ", userPasswrod=" + userPasswrod + ", userFlag="
				+ userFlag + ", userDesc=" + userDesc + "]";
	}
	

}
